package gdt.entity;

import gdt.entity.AbstractSecureEntity;
import java.io.Serializable;
import java.lang.String;
import java.util.Calendar;
import javax.persistence.*;

/**
 * Entity that represents a holiday.
 */

@Entity
@Inheritance(strategy=InheritanceType.SINGLE_TABLE)
public abstract class Holiday extends AbstractSecureEntity implements Serializable {

	private static final long serialVersionUID = 1L;
	
	private Calendar startDate;
	
	private Calendar endDate;
	
	private String description;

	
	public Holiday() {
		super();
	}
	
	// ********************** Accessor Methods ********************** //
	
	public Calendar getStartDate() {
		return this.startDate;
	}

	public void setStartDate(Calendar startDate) {
		this.startDate = startDate;
	}   
	
	public Calendar getEndDate() {
		return this.endDate;
	}

	public void setEndDate(Calendar endDate) {
		this.endDate = endDate;
	}   
	
	public String getDescription() {
		return this.description;
	}

	public void setDescription(String description) {
		this.description = description;
	}
   
}
